#include "Nomina.h"
#include "NominasPAIEDAApp.h"
#include "NominasPAIEDAMain.h"
//(*InternalHeaders(Nomina)
#include <wx/font.h>
#include <wx/intl.h>
#include <wx/string.h>
//*)

//(*IdInit(Nomina)
const long Nomina::ID_STATICTEXT2 = wxNewId();
const long Nomina::ID_STATICTEXT3 = wxNewId();
const long Nomina::ID_STATICTEXT5 = wxNewId();
const long Nomina::ID_STATICTEXT6 = wxNewId();
const long Nomina::ID_STATICTEXT1 = wxNewId();
const long Nomina::ID_STATICTEXT4 = wxNewId();
const long Nomina::ID_STATICBOX1 = wxNewId();
const long Nomina::ID_STATICBOX2 = wxNewId();
const long Nomina::ID_STATICTEXT8 = wxNewId();
const long Nomina::ID_STATICTEXT9 = wxNewId();
const long Nomina::ID_STATICTEXT10 = wxNewId();
const long Nomina::ID_STATICTEXT11 = wxNewId();
const long Nomina::ID_STATICTEXT12 = wxNewId();
const long Nomina::ID_STATICTEXT13 = wxNewId();
const long Nomina::ID_STATICTEXT14 = wxNewId();
const long Nomina::ID_STATICTEXT15 = wxNewId();
const long Nomina::ID_STATICTEXT16 = wxNewId();
const long Nomina::ID_STATICTEXT18 = wxNewId();
const long Nomina::ID_STATICTEXT19 = wxNewId();
const long Nomina::ID_STATICTEXT20 = wxNewId();
const long Nomina::ID_STATICTEXT21 = wxNewId();
const long Nomina::ID_STATICTEXT22 = wxNewId();
const long Nomina::ID_STATICBOX3 = wxNewId();
const long Nomina::ID_STATICBOX4 = wxNewId();
const long Nomina::ID_STATICBOX5 = wxNewId();
const long Nomina::ID_STATICTEXT7 = wxNewId();
const long Nomina::ID_STATICTEXT17 = wxNewId();
const long Nomina::ID_PANEL1 = wxNewId();
//*)

BEGIN_EVENT_TABLE(Nomina,wxFrame)

END_EVENT_TABLE()

Nomina::Nomina(wxWindow* parent)
{
	//(*Initialize(Nomina)
	Create(parent, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxDEFAULT_FRAME_STYLE, _T("wxID_ANY"));
	SetClientSize(wxSize(500,600));
	Move(wxPoint(350,50));
	Panel1 = new wxPanel(this, ID_PANEL1, wxPoint(152,600), wxDefaultSize, wxTAB_TRAVERSAL, _T("ID_PANEL1"));
	Panel1->SetBackgroundColour(wxColour(255,255,255));
	nom = new wxStaticText(Panel1, ID_STATICTEXT2, wxEmptyString, wxPoint(264,32), wxSize(192,16), 0, _T("ID_STATICTEXT2"));
	nif = new wxStaticText(Panel1, ID_STATICTEXT3, wxEmptyString, wxPoint(264,48), wxSize(192,13), 0, _T("ID_STATICTEXT3"));
	nss = new wxStaticText(Panel1, ID_STATICTEXT5, wxEmptyString, wxPoint(264,64), wxSize(192,13), 0, _T("ID_STATICTEXT5"));
	date = new wxStaticText(Panel1, ID_STATICTEXT6, wxEmptyString, wxPoint(264,80), wxSize(192,13), 0, _T("ID_STATICTEXT6"));
	StaticText1 = new wxStaticText(Panel1, ID_STATICTEXT1, _("Empresa: Empleados PAI EDA\nDomicilio: C/Franco s/n. CP:11402 \n                Jerez de la Fra\n\nCIF:12345678FD\n"), wxPoint(32,32), wxSize(192,80), 0, _T("ID_STATICTEXT1"));
	gc = new wxStaticText(Panel1, ID_STATICTEXT4, wxEmptyString, wxPoint(264,96), wxSize(192,13), 0, _T("ID_STATICTEXT4"));
	StaticBox1 = new wxStaticBox(Panel1, ID_STATICBOX1, _("Datos Empresa"), wxPoint(16,8), wxSize(216,112), 0, _T("ID_STATICBOX1"));
	wxFont StaticBox1Font(6,wxSWISS,wxFONTSTYLE_NORMAL,wxNORMAL,false,_T("Arial"),wxFONTENCODING_DEFAULT);
	StaticBox1->SetFont(StaticBox1Font);
	StaticBox2 = new wxStaticBox(Panel1, ID_STATICBOX2, _("Datos Trabajador"), wxPoint(248,8), wxSize(240,112), 0, _T("ID_STATICBOX2"));
	StaticBox2->SetForegroundColour(wxColour(0,0,0));
	wxFont StaticBox2Font(6,wxSWISS,wxFONTSTYLE_NORMAL,wxNORMAL,false,wxEmptyString,wxFONTENCODING_DEFAULT);
	StaticBox2->SetFont(StaticBox2Font);
	StaticText3 = new wxStaticText(Panel1, ID_STATICTEXT8, _("Salario Base: "), wxPoint(104,192), wxSize(64,13), 0, _T("ID_STATICTEXT8"));
	salario = new wxStaticText(Panel1, ID_STATICTEXT9, wxEmptyString, wxPoint(224,192), wxSize(64,13), 0, _T("ID_STATICTEXT9"));
	wxFont salarioFont(10,wxSWISS,wxFONTSTYLE_NORMAL,wxBOLD,false,wxEmptyString,wxFONTENCODING_DEFAULT);
	salario->SetFont(salarioFont);
	StaticText4 = new wxStaticText(Panel1, ID_STATICTEXT10, _("Horas Extras:"), wxPoint(104,224), wxSize(72,13), 0, _T("ID_STATICTEXT10"));
	extras = new wxStaticText(Panel1, ID_STATICTEXT11, wxEmptyString, wxPoint(224,224), wxSize(64,13), 0, _T("ID_STATICTEXT11"));
	wxFont extrasFont(10,wxSWISS,wxFONTSTYLE_NORMAL,wxBOLD,false,wxEmptyString,wxFONTENCODING_DEFAULT);
	extras->SetFont(extrasFont);
	StaticText6 = new wxStaticText(Panel1, ID_STATICTEXT12, _("TOTAL DEVENGADO:"), wxPoint(104,264), wxDefaultSize, 0, _T("ID_STATICTEXT12"));
	totaldev = new wxStaticText(Panel1, ID_STATICTEXT13, wxEmptyString, wxPoint(224,264), wxSize(64,13), 0, _T("ID_STATICTEXT13"));
	wxFont totaldevFont(10,wxSWISS,wxFONTSTYLE_NORMAL,wxBOLD,false,wxEmptyString,wxFONTENCODING_DEFAULT);
	totaldev->SetFont(totaldevFont);
	StaticText5 = new wxStaticText(Panel1, ID_STATICTEXT14, _("18 euros/hora"), wxPoint(304,224), wxSize(80,13), 0, _T("ID_STATICTEXT14"));
	StaticText7 = new wxStaticText(Panel1, ID_STATICTEXT15, _("Euros"), wxPoint(304,192), wxSize(32,13), 0, _T("ID_STATICTEXT15"));
	StaticText8 = new wxStaticText(Panel1, ID_STATICTEXT16, _("Euros"), wxPoint(304,264), wxSize(40,13), 0, _T("ID_STATICTEXT16"));
	StaticText10 = new wxStaticText(Panel1, ID_STATICTEXT18, _("I.R.P.F:"), wxPoint(104,352), wxSize(56,13), 0, _T("ID_STATICTEXT18"));
	irpf = new wxStaticText(Panel1, ID_STATICTEXT19, wxEmptyString, wxPoint(168,352), wxSize(72,13), 0, _T("ID_STATICTEXT19"));
	wxFont irpfFont(10,wxSWISS,wxFONTSTYLE_NORMAL,wxBOLD,false,wxEmptyString,wxFONTENCODING_DEFAULT);
	irpf->SetFont(irpfFont);
	StaticText11 = new wxStaticText(Panel1, ID_STATICTEXT20, _("LIQUIDO TOTAL A PERCIBIR:"), wxPoint(48,456), wxSize(168,13), 0, _T("ID_STATICTEXT20"));
	total = new wxStaticText(Panel1, ID_STATICTEXT21, wxEmptyString, wxPoint(232,456), wxSize(80,13), 0, _T("ID_STATICTEXT21"));
	wxFont totalFont(10,wxSWISS,wxFONTSTYLE_NORMAL,wxBOLD,false,wxEmptyString,wxFONTENCODING_DEFAULT);
	total->SetFont(totalFont);
	StaticText13 = new wxStaticText(Panel1, ID_STATICTEXT22, _("Euros"), wxPoint(304,456), wxSize(64,13), 0, _T("ID_STATICTEXT22"));
	StaticBox3 = new wxStaticBox(Panel1, ID_STATICBOX3, _("DEVENGOS"), wxPoint(16,144), wxSize(472,152), 0, _T("ID_STATICBOX3"));
	StaticBox4 = new wxStaticBox(Panel1, ID_STATICBOX4, _("DEDUCCIONES"), wxPoint(16,312), wxSize(472,88), 0, _T("ID_STATICBOX4"));
	StaticBox5 = new wxStaticBox(Panel1, ID_STATICBOX5, _("A PERCIBIR"), wxPoint(16,416), wxSize(472,96), 0, _T("ID_STATICBOX5"));
	StaticText2 = new wxStaticText(Panel1, ID_STATICTEXT7, _("El Trabajador"), wxPoint(360,528), wxSize(72,13), 0, _T("ID_STATICTEXT7"));
	StaticText9 = new wxStaticText(Panel1, ID_STATICTEXT17, _("La Empresa"), wxPoint(56,528), wxDefaultSize, 0, _T("ID_STATICTEXT17"));
	//*)


}

Nomina::~Nomina()
{
	//(*Destroy(Nomina)
	//*)
}


